home *** CD-ROM | disk | FTP | other *** search
- %case sourcefile%
- %if not windname = Clipboard%
- %genfile zWindow z+windname%
- %if not fileExists windname%
- %genfile Window windname%
- %endif%
- %endif%
- %case include%
- %if not windname = Clipboard%
- #include "%windname%.h"
- %endif%
- %case instance%
- %if not windname = Clipboard%
- C%windname% *its%windname%;
- %if not firstWindow%
- %multiWindow%
- %endif%
- %endif%
- %case initNil%
- %if not windname = Clipboard%
- its%windname% = NULL;
- %if not firstWindow%
- %multiWindow%
- %endif%
- %endif%
- %case dispose%
- %if not windname = Clipboard%
- if (its%windname% != NULL) {
- its%windname%->Dispose ();
- }
- %endif%
- %case closeWind%
- %if not windname = Clipboard%
- %if firstWindow%
- if (theWindow == its%windname%) {
- inherited::CloseWind (theWindow);
- %else%
- } else if (theWindow = its%windname%) {
- its%windname%->Dispose ();
- its%windname% = NULL;
- itsWindow = NULL;
- %endif%
- %endif%
- %case create%
- %if not windname = Clipboard%
- its%windname% = new (C%windname%);
- its%windname%->I%windname% (this);
- %if has growBox%
- gDecorator->PlaceNewWindow (its%windname%);
- %endif%
- %if firstWindow%
- itsMainPane = its%windname%->itsMainPane;
- itsWindow = its%windname%;
- %endif%
-
- %endif%
-